package vg.services.plugin_manager.event_and_request.event;


/**
 * This event report decoders and all her components
 * about renaming of tab.
 * @author tzolotuhin
 */
public class UIEventRenameTab extends AUIEvent {
	private final int tabId;
	private final String newName;
	/**
	 * Default constructor.
	 * @param tabId - id of tab.
	 * @param newName - new name of tab.
	 */
	public UIEventRenameTab(final int tabId, final String newName) {
		super(EUIEventType.DEF_RENAME_TAB);
		this.tabId = tabId;
		this.newName = newName;
	}
	public int getTabId() {
		return(this.tabId);
	}
	public String getNewName() {
		return(this.newName);
	}
	
}
